@import 'base.less';

.page_container{
  height:100vh;
  width: 100vw;
  overflow:hidden;
  .el-header{
    background: @white;
  }
  .page_header{
    padding:0;
    color:@white;
    .logo{
      font-size:18px;
      background: @gray_base;
      transition: all 0.3s;
      font-weight: 600;
      text-align: center;
      line-height: @header_height;
      padding:0 10px;
      overflow: hidden;
      cursor: pointer;
      .icon{
        font-size:20px;
      }
      .text{
        display: inline-block;
        margin-left:20px;
      }
    }
    .page_header_top{
      border-bottom:1px solid @gray_e6;
    }
    .header_left{
      line-height: @header_height;
      margin-right:20px;
      .item{
        float:left;
        line-height: @header_height;
        cursor: pointer;
        margin-left:15px;
        color:@font-color;
      }
      .head_menu{
        white-space: nowrap;
        overflow: hidden;
        .item_menu{
          user-select: none;
          display: inline-block;
          height:100%;
          font-size:14px;
          cursor: pointer;
          padding:0 10px;
          text-align: center;
          &:hover{
            color:@gray_e6;
          }
          &.active{
            background: @gray_hover;
          }
          .item{
            margin-left:0;
            margin-right:5px;
          }
        }
      }
    }
    .header_right{
      list-style: none;
      color:@font-color;
      li{
        display: inline-block;
        line-height:@header_height;
        margin-right:15px;
      }
      .el-dropdown > span{
        color:@font-color;
      }
    }
  }
  .page_content{
    height:calc(100vh - @header_height);
    .el-menu{
      border-right:0;
    }
    .page_aside{
      height:100%;
      border-right:1px solid @gray_e6;
      transition: all 0.3s;
      overflow-x: hidden;
      overflow-y:auto;
      &::-webkit-scrollbar{
        width: 5px;
        height:1px;
      }
      &::-webkit-scrollbar-thumb{
        border-radius:5px;
        box-shadow:inset 0 0 5px rgba(0,0,0,0.2);
        background: #2c3e50; 
      }
      &::-webkit-scrollbar-track{
        box-shadow:inset 0 0 5px rgba(0,0,0,0.1);
        background: #e8e8e8; 
      }
    }
    .page_main{
      background: @gray_f8;
      .el-main{
        padding:15px;
      }
    }
  }
}
.common_modal{
  background: @white;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  padding:15px;
  border-radius: 0.2em;
  position: relative;
}
.common_title{
  height:20px;
  line-height: 20px;
  padding-bottom:15px;
  span{
    font-size:18px;
  }
  .common_title_right{
    float: right;
    .icon{
      margin-left:10px;
      cursor: pointer;
    }
  }
}
/*头部导航*/
.headTab{
  height:40px;
  background: @white;
  border-bottom: 1px solid @gray_e6;
  // box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  ul{
    list-style: none;
    padding:8px 15px;
    li{
      display: inline-block;
      height:24px;
      line-height: 22px;
      border-radius:0.2em;
      border:1px solid @gray_e6;
      padding:0 22px 0 10px;
      cursor: pointer;
      position: relative;
      transition: all 0.3s;
      margin-right:10px;
      font-size:13px;
      background: @gray_f8;
      &:first-child{
        padding-right:10px;
      }
      &.active{
        background: @blue !important;
        color:@white !important;
        border-color:@blue;
      }
      .icon{
        position: absolute;
        color:@orange;
        color:@gray_e6;
        // display: none;
        font-size:16px;
        top:3px;
        right:2px;
        &:hover{
          color:@red;
        }
      }
      &:hover{
        color:@blue;
        border-color:@blue;
      }
      
    }
  }
}
/**修改默认ElementUi样式*/
.searchBox{
  .el-form-item{
    margin-bottom:15px !important;
  }
}

.el-pagination{
  padding:15px !important;
  text-align: right;
}
